/**
 * 编码转换工具 CSS
 */

.tab-button {
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: transparent;
}

.operation-button {
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.operation-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: transparent;
}

.tool-description {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    min-height: 180px;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    background-color: var(--bg-color-secondary);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.copy-btn {
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
}

.example-btn {
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.clear-btn {
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tab-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .operation-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}